using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using Rsd.Faith.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 增值（或称统筹）金额 - 支出：含派息，维修使用支出，其他服务支持
    /// </summary>
    [Table("bank_增值资金使用", "bank__zeng_zhi_shi_yong", "id")]
    [Serializable]
    public class BankZengZhiShiYongModel : Rsd.Faith.Core.ModelBase
    {
        /// <summary>
        /// 支出银行名称
        /// </summary>
        [StringType("yin_hang_ming_cheng", "支出银行名称", 20, 100)]
        [DisplayName("支出银行名称")]
        public string YinHangMingCheng { get; set; }
      
        /// <summary>
        /// 银行账号
        /// </summary>
        [StringType("yin_hang_zhang_hao", "银行账号", 22, 20)]
        [DisplayName("银行账号")]
        public string YinHangZhangHao { get; set; }

        /// <summary>
        /// 归属所属期
        /// </summary>
        [StringType("suo_shu_qi", "归属所属期", 24, 20)]
        [DisplayName("归属所属期")]
        public string SuoShuQi { get; set; }

        /// <summary>
        /// 记账日期
        /// </summary>
        [StringType("ri_qi", "记账日期", 26, 30)]
        [DisplayName("记账日期")]
        public string RiQi { get; set; }

        /// <summary>
        /// 使用金额
        /// </summary>
        [NumericType("shi_yong_jin_e", "使用金额", 28, 20, 2)]
        [DisplayName("使用金额")]
        public decimal ShiYongJinE { get; set; }

        /// <summary>
        /// 使用说明
        /// </summary>
        [StringType("shi_yong_shuo_ming", "使用说明", 30, 200)]
        [DisplayName("使用说明")]
        public string ShiYongShuoMing { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        [StringType("jing_ban_ren", "经办人", 32, 200)]
        [DisplayName("经办人")]
        public string JingBanRen { get; set; }

        /// <summary>
        /// 审批人
        /// </summary>
        [StringType("shen_pi_ren", "审批人", 34, 200)]
        [DisplayName("审批人")]
        public string ShenPiRen { get; set; }

        /// <summary>
        /// 付款人
        /// </summary>
        [StringType("fu_kuan_ren", "付款人", 36, 200)]
        [DisplayName("付款人")]
        public string FuKuanRen { get; set; }
        
        /// <summary>
        /// 状态
        /// </summary>
        [StringType("zhuang_tai", "状态", 38, 20)]
        [DisplayName("状态")]
        public ZengZhiShiYongZhuangTai ZhuangTai { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public BankZengZhiShiYongModel()
        { }

    }
}
